<link rel="stylesheet"
href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
<script charset="utf-8" type="text/javascript"
src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js"></script>
<body>
    <div class="prism-player" id="J_prismPlayer"></div>
    <script>
    var player = new Aliplayer({
    id: 'J_prismPlayer',
    width: '100%',
    autoplay: false,
    cover: 'http://liveroom-img.oss-cn-qingdao.aliyuncs.com/logo.png',
    //播放方式一：支持播放地址播放,此播放优先级最高，此种方式不能播放加密视频
    //  source : 'https://outin-499901c99f5a11eca2a000163e1c8dba.oss-cn-shanghai.aliyuncs.com/sv/5eb29df1-180b945c11f/5eb29df1-180b945c11f.mp4?Expires=1652947487&OSSAccessKeyId=LTAI8bKSZ6dKjf44&Signature=m9Prg%2B5g1Ehkpk4kHRM0fAgdaDs%3D',
    //播放配置
    encryptType:'1',//如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
    vid : 'b814e7cd4ece46628c86e52cb749292a',   //需要把阿里云里面的存储类型修改成公共加密，私有加密播放不了
    playauth : "eyJTZWN1cml0eVRva2VuIjoiQ0FJU2h3TjFxNkZ0NUIyeWZTaklyNURiQTlQenArNUg1cGVhVm1ESXZGWmtYT2NkdC9PWmhEejJJSGxQZTNGaEFPb2V2L2svbVc5VTdmb2Nsck1xRzhVVUhSeWFQSkl2dHMwSHFWdjZKcExGc3QySjZyOEpqc1ZVblo4ZzdrYXBzdlhKYXNEVkVmbDJFNVhFTWlJUi8wMGU2TC8rY2lyWXBUWEhWYlNDbFo5Z2FQa09Rd0M4ZGtBb0xkeEtKd3hrMnQxNFVtWFdPYVNDUHdMU2htUEJMVXhtdldnR2wyUnp1NHV5M3ZPZDVoZlpwMXI4eE80YXhlTDBQb1AyVjgxbExacGxlc3FwM0k0U2M3YmFnaFpVNGdscjhxbHg3c3BCNVN5Vmt0eVdHVWhKL3phTElvaXQ3TnBqZmlCMGVvUUFQb3BGcC9YNmp2QWF3UExVbTliWXhncGh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